package mr.ali.webvideo.service;

import com.github.pagehelper.PageInfo;
import mr.ali.webvideo.model.Collection;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-08-16
 */
public interface ICollectionService extends IService<Collection> {

    PageInfo<Collection> findAll(Integer pageNum, Integer pageSize, Integer type, String order);

    List<Collection> videoTagsById(Integer id);

    PageInfo<Collection> findAllByOrderLast(Integer pageNum, Integer pageSize, Integer type, String order, Boolean yesVideo);

    PageInfo<Collection> searchCollections(String name, int pageNum, int pageSize);

    List<Collection> findAllSeriesId(Integer seriesId);
}
